//主数据表格配置
export const columns = [
  // { title: '销售单号', dataIndex: 'saleOrderNo', key: 'saleOrderNo', align: 'center',scopedSlots: { customRender: '' }},
  { title: '配送单号', dataIndex: 'deliveryOrderNo', key: 'deliveryOrderNo', align: 'center',scopedSlots: { customRender: 'deliveryOrderNo' }},
  { title: '配送单名称', dataIndex: 'deliveryOrderName', key: 'deliveryOrderName', align: 'center'},
  { title: '供应商', dataIndex: 'supplierName', key: 'supplierName', align: 'center' },
  { title: '送货类型', dataIndex: 'deliveryType', key: 'deliveryType', align: 'center' },
  { title: '寄件人姓名', dataIndex: 'sender', key: 'sender', align: 'center' },
  { title: '寄件人联系电话', dataIndex: 'senderTel', key: 'senderTel', align: 'center' },
  { title: '收件人姓名', dataIndex: 'receiver', key: 'receiver', align: 'center' },
  { title: '收件人联系电话', dataIndex: 'receiverTel', key: 'receiverTel', align: 'center' },
  { title: '收件地址', dataIndex: 'receiverAddr', key: 'receiverAddr', align: 'center' },
  { title: '配送状态', dataIndex: 'deliveryState', key: 'deliveryState', align: 'center', scopedSlots: { customRender: 'deliveryState' } },
  { title: '操作', dataIndex: 'action', key: 'operation', width: 70, align: 'center', scopedSlots: { customRender: 'action' }},
]
//主数据查询配置
export const q_formInfos = [
  { label: '配送单号', name: 'deliveryOrderNo', type: 'input', placeholder: '配送单号' },
  { label: '供应商', name: 'supplierName', type: 'customer', placeholder: '供应商' },
  { label: '配送状态', name: 'deliveryState', type: 'dicselect',dicName: 'deliveryState', placeholder: '配送状态' },
  { label: ['查询', '重置'], type: 'botton' }
]

export const q_formDatas = {
  deliveryOrderNo:null,
  supplierName: null,
  deliveryState:null
}

//添加主数据表单配置
export const s_FormInfo = []

export const s_formDatas = {}
export const s_rules = {}

//查看明细显示配置
export const infoDatas = [
  { title: '联系人姓名', id: 'smsName', value: '' },
  { title: '短信手机号', id: 'smsNum', value: '' },
  { title: '类型', id: 'smsType', value: '' }
]
